import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

/** 列表 */
export const costStatisticsListApi = generateRequest(`${apiUrlPrefix}/pcs/statementDetail/pageQuery`)

/** 处理 */
export const handleCostStatisticsApi = generateRequest(`${apiUrlPrefix}/pcs/statementDetail/deal`)

/** 导出 */
export const exportCostStatisticsApi = generateRequest(`${apiUrlPrefix}/pcs/statementDetail/excelExport`, 'post', {
  responseType: 'blob',
})
